package spring_mybatis_integration;

public class CustomerService {
	private ICustomerDAO iCustomerDAO;
	
	public void setCustomerDAO(ICustomerDAO iCustomerDAO) {
		this.iCustomerDAO = iCustomerDAO;
	}
	
	public CustomerModel getCustomerById(int id)		{
		return iCustomerDAO.getCustomerById(id);
	}
}
